<!--#include file="Config.asp" -->
<!--#include file="HeadTop.asp"-->

<%
If Request.Form <> "" Then
EduBeginDate = Trim(Request.Form("EduBeginDate"))
EduEndDate = Trim(Request.Form("EduEndDate"))
EduSchool = Trim(Request.Form("EduSchool"))
EduProfession = Trim(Request.Form("EduProfession"))
EduQualification = Trim(Request.Form("EduQualification"))
EduNote = Trim(Request.Form("EduNote"))

If EduBeginDate = "" Or IsNull(EduBeginDate) Then
Qsite.ShowMsg "请输入开始时间" , ""
End If
If EduEndDate = "" Or IsNull(EduEndDate) Then EduEndDate = "至今"
If EduSchool = "" Or IsNull(EduSchool) Then
Qsite.ShowMsg "请输入学校" , ""
End If
If EduProfession = "" Or IsNull(EduProfession) Then
Qsite.ShowMsg "请输入专业" , ""
End If
If EduQualification = "" Or IsNull(EduQualification) Then
Qsite.ShowMsg "请选择学历" , ""
End If

Conn.Execute("insert into EduTbl (EduBeginDate , EduEndDate , EduSchool , EduProfession , EduQualification , EduNote , PerId) values ('"& EduBeginDate &"' , '"& EduEndDate &"' , '"& EduSchool &"' , '"& EduProfession &"' , '"& EduQualification &"' , '"& EduNote &"' , "& session("AnyPIM_userID") &")")

Conn.Execute("update Users set jyFlag = '1' where PerId = "& session("AnyPIM_userID"))

response.redirect "EducationExperience.asp"
End If

%>

<TABLE class="table table-condensed" >
<form id="PerForm" name="PerForm" method="post" action="Edu_Add.asp" onsubmit="return CheckForm();">
<tr bgcolor='#f6f6f6'>
<td width="12%" bgcolor='#ddeeff'>时间：</td>
<td width="88%">从
<input name="EduBeginDate" type="text" class="Wdate" onClick="WdatePicker()"/>
到
<input name="EduEndDate" type="text" class="Wdate" onClick="WdatePicker()"/>
(格式：2007-09，后面一项目不填表示至今)</td>
</tr>
<tr>
<td bgcolor='#ddeeff'>学校：</td>
<td><input name="EduSchool" type="text" id="EduSchool" size="50" class="input_bk_D2D2D2" /></td>
</tr>
<tr>
<td bgcolor='#ddeeff'>专业：</td>
<td><input name="EduProfession" type="text" id="EduProfession" size="30" class="input_bk_D2D2D2" /></td>
</tr>
<tr>
<td bgcolor='#ddeeff'>学历：</td>
<td><select name="EduQualification" class="input_bk_D2D2D2" id="EduQualification">
<%
Rs.Open "select * from QualificationTbl order by QualificationId asc" , Conn , 1 , 1
Do While Not Rs.Eof
Response.Write("<option value="""& Rs("QualificationName") &""">"& Rs("QualificationName") &"</option>")
Rs.MoveNext
Loop
Rs.Close
%>
</select></td>
</tr>
<tr>
<td bgcolor='#ddeeff'>专业描述：</td>
<td><textarea name="EduNote" cols="90" rows="10" style="display:none"></TEXTAREA>
<IFRAME ID="eWebEditor1" src="_Editor/ewebeditor.asp?id=EduNote&style=s_exampleremote" frameborder="0" scrolling="no" width="100%" height="350"></IFRAME></td>
</tr>
<tr>
<td bgcolor='#ddeeff'>&nbsp;</td>
<td>
<input type="submit" name="Submit" value="添加" />
<input type="reset" name="Submit" value="重置" />
</td>
</tr>
</form>
</table>

<!-- #include file="foot.asp" -->
